* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #2d3748;
}

/* ===== CONTACT PAGE TOP FIX ===== */
#contactPage {
    padding-top: 88px;
}

@media (max-width: 640px) {
    #contactPage {
        padding-top: 68px;
    }
}

/* Header Section */
.contact-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: auto;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 1rem;
    color: #e2e8f0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Main Layout */
.contact-main {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Left Contact Info */
.contact-info {
    flex: 1;
    position: relative;
    padding-top: 20px;
}

.contact-info h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info > p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 40px;
}

.info-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #2d3748;
    font-size: 0.95rem;
}

.info-details i {
    color: #b83280;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Decorative Paper Plane & Line */
.decorative-artwork {
    position: relative;
    margin-top: 50px;
    height: 80px;
    width: 200px;
}

.dotted-curve {
    position: absolute;
    width: 100%;
}

.paper-plane {
    position: absolute;
    right: 10px;
    bottom: 20px;
    color: #cbd5e0;
    font-size: 1.5rem;
    transform: rotate(20deg);
}

/* Right Form Container Card */
.contact-form-container {
    flex: 1.1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-group label {
    display: none;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: #b83280;
}

.input-group input::placeholder, 
.input-group textarea::placeholder {
    color: #a0aec0;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: #b83280;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #97266d;
}

  

/* ===== TABLET RESPONSIVE ===== */
@media (max-width: 1024px) {
    .contact-container {
        gap: 30px;
    }
    .contact-form-container {
        padding: 30px;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .contact-header {
        min-height: 180px;
        padding: 30px 20px;
    }

    .header-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .header-content p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .contact-main {
        padding: 30px 16px;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info {
        padding-top: 0;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-info > p {
        margin-bottom: 25px;
        font-size: 0.9rem;
    }

    .info-details {
        gap: 18px;
    }

    .info-details li {
        font-size: 0.9rem;
        gap: 12px;
    }

    .decorative-artwork {
        display: none;
    }

    .contact-form-container {
        width: 100%;
        padding: 24px 20px;
    }

    /* ✅ THIS FIXES THE BROKEN FORM ROW */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ===== SMALL MOBILE (iPhone XR etc) ===== */
@media (max-width: 480px) {
    #contactPage {
        padding-top: 60px;
    }

    .contact-header {
        min-height: 160px;
        padding: 25px 16px;
    }

    .header-content h1 {
        font-size: 1.35rem;
    }

    .header-content p {
        font-size: 0.78rem;
    }

    .contact-main {
        padding: 20px 12px;
    }

    .contact-info h2 {
        font-size: 1.3rem;
    }

    .contact-info > p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .info-details {
        gap: 15px;
    }

    .info-details li {
        font-size: 0.85rem;
        gap: 10px;
    }

    .info-details i {
        font-size: 1rem;
    }

    .contact-form-container {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .input-group input,
    .input-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
    }
}